package com.whp.openapi.dao;

import com.whp.openapi.common.ResultTable;
import com.whp.openapi.entity.Recharge;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RechargeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Recharge record);

    int insertSelective(Recharge record);

    Recharge selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Recharge record);

    int updateByPrimaryKey(Recharge record);

    List<Recharge> getTable(@Param("name") String name,@Param("state") Integer state);

    int delRecharge(Integer[] ids);
}